package com.fruit.bean.enumeration.fruit;

/**
 * 用户订单状态枚举
 */
public enum FruitUserOrderStatusEnum {
    TO_BE_PAY (0,"待支付"),
    PAID(1,"已支付"),
    TRANSFORM(2,"运输中"),
    WAIT_RECIEVE(3,"等待收货"),
    WAIT_EVALUATE(4,"等待评论"),
    FINISHED(5,"已完成"),
    DELETED(6,"已删除");

    private Integer code;
    private String msg;

    FruitUserOrderStatusEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

}
